home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 000071_jfg@bernd.cern.ch _Mon Mar 23 17:53:17 1992.msg < prev    next >
Internet Message Format  |  1994-01-24  |  3KB

  1. Return-Path: <jfg@bernd.cern.ch>
  2. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  3.     id AA18099; Mon, 23 Mar 92 17:53:17 GMT+0100
  4. Received: by dxmint.cern.ch (cernvax) (5.57/3.14)
  5.     id AA08402; Mon, 23 Mar 92 17:48:43 +0100
  6. Received: by bernd.cern.ch (AIX 3.1/UCB 5.61/4.03)
  7.           id AA15238; Mon, 23 Mar 92 17:47:01 -2300
  8. Date: Mon, 23 Mar 92 17:47:01 -2300
  9. From: jfg@bernd.cern.ch (Jean-Francois Groff)
  10. Message-Id: <9203241647.AA15238@bernd.cern.ch>
  11. To: www-talk@nxoc01.cern.ch
  12. Subject: Re: behavior of ">" and ">>" in line mode browser
  13. References: <m0lSK12-000HpjC@heifetz.msen.com>
  14.  
  15.   Thank you Ed for more useful bug reports. Here are your answers...
  16.  
  17. ----------------------------------------------------------------------------
  18. problem yacc'ing violaWWW
  19.  
  20. I don't know. I never compiled it myself... The error is not in gram.y...
  21. Looks like your cc doesn't understand the "#if" preprocessor directive (ANSI).
  22. Try gcc instead.
  23.  
  24. ----------------------------------------------------------------------------
  25. behavior of ">" and ">>" in line mode browser
  26.  
  27. Here's a diff on HTBrowse.c to handle this. The line numbers and the
  28. "the_choice" variable will not correspond to your code because they're
  29. from the unreleased 1.2e (soon to become 1.3 on ftp...)
  30.  
  31. *** 1080,1087 ****
  32.   
  33.                 command  = (char *) malloc(
  34.                         strlen(address)+strlen(the_choice)+30);
  35. !               sprintf(command, 
  36. !                       "www -n -na -p \"%s\" %s", address, the_choice);
  37.                 result = system(command);
  38.                 if (result) printf("  %s  returns %d\n", command, result);
  39.                 free(command);
  40. --- 1080,1087 ----
  41.   
  42.                 command  = (char *) malloc(
  43.                         strlen(address)+strlen(the_choice)+30);
  44. !               sprintf(command, "www -n %s \"%s\" %s", 
  45. !                       HTDiag ? "-source" : "-na -p", address, the_choice);
  46.                 result = system(command);
  47.                 if (result) printf("  %s  returns %d\n", command, result);
  48.                 free(command);
  49.  
  50. ----------------------------------------------------------------------------
  51. rfc: "gateway"
  52.  
  53. I see your point. However, the only intention of the WWW_foo_GATEWAY syntax
  54. is to enable access to protocols not understood by the www client by means
  55. of a gateway that translates those to/from HTTP/HTML. Ideally, what we need
  56. to be able to fetch RFCs properly is a naming service, x500 or whatever.
  57. Your rfc: access is rather an address alias. For that, you could direct it
  58. to your own HTTP server with WWW_rfc_GATEWAY, and then insert
  59.  
  60.     map    rfc:    file://ftp.nisc.sri.com/rfc/
  61.  
  62. in your httpd.conf rule file. But beware that if you start serving HTML
  63. files with rfc: addresses instead of file://host/rfc, every www client in
  64. the world will have to set WWW_rfc_GATEWAY.
  65.  
  66. ----------------------------------------------------------------------------
  67. WAISGate support for WAIS 'HTML' doc type
  68.  
  69. Tim answered this one. As he said, "Great!".
  70.  
  71. ----------------------------------------------------------------------------
  72.   Jean-Francois Groff (jfg@info.cern.ch)
  73.   World-Wide Web initiative
  74.   CERN, ECP division, CH-1211 Geneva 23, Switzerland
  75.   Phone +41 22 767 3755 -- Fax +41 22 767 7155
  76. --
  77. "If we were directed from Washington when to sow and when to reap,
  78.  we would soon want bread."
  79.     - Thomas Jefferson
  80.